package slxy.jiangtao.dts.entity.sys;

import slxy.jiangtao.dts.core.common.bean.BaseId;

import javax.persistence.*;

/**
 * Code must be sexy
 * Created by Jiang Tao on 2017/4/9.
 * 说明：角色类型
 */
@Entity
@Table(name = "role_type", schema = "dts", catalog = "")
public class RoleType extends BaseId{
    @Basic
    @Column(name = "name",nullable = false)
    private String name;
    @Basic
    @Column(name = "type")
    private String type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
